var jbgzhFieldid = WfForm.convertFieldNameToId("jbgzh");

 WfForm.bindFieldChangeEvent(jbgzhFieldid,
    function(obj, id, value) {

  if(value*1<0){
  alert("基本工资不允许为负值");
  //置空文本框
  WfForm.changeFieldValue(jbgzhFieldid, {
                                value: ""
                            });
  }

    });
var jxgzhFieldid = WfForm.convertFieldNameToId("jxgzh");

 WfForm.bindFieldChangeEvent(jxgzhFieldid,
    function(obj, id, value) {

  if(value*1<0){
  alert("绩效工资不允许为负值");
  //置空文本框
  WfForm.changeFieldValue(jxgzhFieldid, {
                                value: ""
                            });
  }

    });
var nzjjjshFieldid = WfForm.convertFieldNameToId("nzjjjsh");

 WfForm.bindFieldChangeEvent(nzjjjshFieldid,
    function(obj, id, value) {

  if(value*1<0){
  alert("年终奖金基数不允许为负值");
  //置空文本框
  WfForm.changeFieldValue(nzjjjshFieldid, {
                                value: ""
                            });
  }

    });